package com.ethink.warehouse.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 仓库主仓 更新请求对象
 *
 * @author default
 * @date 2022-11-01
 */
@Data
public class WarehouseUpdateBookRequest {

    @Schema(description ="账册编码")
    private String bookCode;

    @Schema(description ="账册名称")
    @NotNull(message = "账册名称不能为空")
    private String bookName;

    @Schema(description ="货主编码")
    @NotNull(message = "货主编码不能为空")
    private String ownerCode;


}
